package user;

import Book.BookList;
import operation.*;

import java.util.Scanner;

public class Normal extends User{
    public Normal (String name) {
        super (name);
        this.iOperations=new IOperation[]{
                new Exit (),
                new Find (),
                new Borrow (),
                new Return ()
        };
    }



    @Override
    public int menu () {
        System.out.println ("***************************");
        System.out.println (this.name+"欢迎来到管理员菜单！");
        System.out.println ("1.查找");
        System.out.println ("2.借阅");
        System.out.println ("3.归还");
        System.out.println ("0.退出");
        Scanner p=new Scanner (System.in);
        int choice=p.nextInt ();
        return choice;
    }
}
